<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class cMemCacheIndex</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class cMemCacheIndex</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">MyHammer IndexedMemcache</p>
<p class="description"><p>LICENSE</p><p>This source file is subject to the GNU General Public License Version 3  that is bundled with this package in the file LICENSE.txt.  It is also available through the world-wide-web at this URL:  http://www.myhammer.de/opensource/license/gpl.txt  If you did not receive a copy of the license and are unable to  obtain it through the world-wide-web, please send an email  to opensource@myhammer.de so we can send you a copy immediately.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Steven Berg &lt;<a href="mailto:berg@myhammer.de">berg@myhammer.de</a>&gt;</li>
				<li><span class="field">version:</span> 1.0</li>
				<li><span class="field">license:</span> <a href="http://www.myhammer.de/opensource/license/gpl.txt">GNU General Public License Version 3</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_classes---core---class.memCacheIndex.php.html">/classes/core/class.memCacheIndex.php</a> (line <span class="field">24</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
										
				<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#createColumnPrefix" title="details" class="method-name">createColumnPrefix</a>
											(<span class="var-type"><a href="../../MyHammer_IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>&nbsp;<span class="var-name">$oMemCacheModel</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sColumnName</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">array</span>
										<a href="#createIndexArrayForColumnValue" title="details" class="method-name">createIndexArrayForColumnValue</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$mColumnValue</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#createIndexKey" title="details" class="method-name">createIndexKey</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$sColumnPrefix</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sCharacter</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$iPosition</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">array</span>
										<a href="#getLinkIdsBySearchIndexArray" title="details" class="method-name">getLinkIdsBySearchIndexArray</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$aSearchIndex</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sColumnPrefix</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">array</span>
										<a href="#getLinkIdsForSearchIndex" title="details" class="method-name">getLinkIdsForSearchIndex</a>
											(<span class="var-type"><a href="../../MyHammer_IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>&nbsp;<span class="var-name">$oMemCacheModel</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sColumnName</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$aSearchIndex</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">array</span>
										<a href="#getLinkIdsForSearchValue" title="details" class="method-name">getLinkIdsForSearchValue</a>
											(<span class="var-type"><a href="../../MyHammer_IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>&nbsp;<span class="var-name">$oMemCacheModel</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sColumnName</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sSearchValue</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">boolean</span>
										<a href="#saveIndex" title="details" class="method-name">saveIndex</a>
											(<span class="var-type"><a href="../../MyHammer_IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>&nbsp;<span class="var-name">$oMemCacheModel</span>)
									</div>
																																																																							</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodcreateColumnPrefix" id="createColumnPrefix"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static createColumnPrefix</span> (line <span class="line-number">85</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">create Prefix for Column</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
				<li><span class="field">example:</span> example not found</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">string</span>
		<span class="method-name">
			createColumnPrefix
		</span>
					(<span class="var-type"><a href="../../MyHammer_IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>&nbsp;<span class="var-name">$oMemCacheModel</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sColumnName</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../../MyHammer_IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>
				<span class="var-name">$oMemCacheModel</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sColumnName</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcreateIndexArrayForColumnValue" id="createIndexArrayForColumnValue"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static createIndexArrayForColumnValue</span> (line <span class="line-number">129</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">create IndexArray of ColumnValue</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
				<li><span class="field">example:</span> example not found</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">array</span>
		<span class="method-name">
			createIndexArrayForColumnValue
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$mColumnValue</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$mColumnValue</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcreateIndexKey" id="createIndexKey"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static createIndexKey</span> (line <span class="line-number">107</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">create key for current character</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
				<li><span class="field">example:</span> example not found</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">string</span>
		<span class="method-name">
			createIndexKey
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$sColumnPrefix</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sCharacter</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">$iPosition</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sColumnPrefix</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sCharacter</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$iPosition</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetLinkIdsBySearchIndexArray" id="getLinkIdsBySearchIndexArray"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static getLinkIdsBySearchIndexArray</span> (line <span class="line-number">184</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">get LinkIds for SearchIndex and Column</p>
	<ul class="tags">
				<li><span class="field">return:</span> ['0'] = string(1)  &quot;t&quot;    ['1'] = string(1)  &quot;e&quot;    ['2'] = string(1)  &quot;s&quot;    ['3'] = string(1)  &quot;t&quot;</li>
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">array</span>
		<span class="method-name">
			getLinkIdsBySearchIndexArray
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$aSearchIndex</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sColumnPrefix</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$aSearchIndex</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sColumnPrefix</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetLinkIdsForSearchIndex" id="getLinkIdsForSearchIndex"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static getLinkIdsForSearchIndex</span> (line <span class="line-number">165</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">get LinkIds for SearchIndex</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">array</span>
		<span class="method-name">
			getLinkIdsForSearchIndex
		</span>
					(<span class="var-type"><a href="../../MyHammer_IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>&nbsp;<span class="var-name">$oMemCacheModel</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sColumnName</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$aSearchIndex</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../../MyHammer_IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>
				<span class="var-name">$oMemCacheModel</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sColumnName</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$aSearchIndex</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetLinkIdsForSearchValue" id="getLinkIdsForSearchValue"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static getLinkIdsForSearchValue</span> (line <span class="line-number">149</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">get LinkIds for SearchValue</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">array</span>
		<span class="method-name">
			getLinkIdsForSearchValue
		</span>
					(<span class="var-type"><a href="../../MyHammer_IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>&nbsp;<span class="var-name">$oMemCacheModel</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sColumnName</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$sSearchValue</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../../MyHammer_IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>
				<span class="var-name">$oMemCacheModel</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sColumnName</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sSearchValue</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsaveIndex" id="saveIndex"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static saveIndex</span> (line <span class="line-number">32</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">create index and save this for memCacheModel</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">boolean</span>
		<span class="method-name">
			saveIndex
		</span>
					(<span class="var-type"><a href="../../MyHammer_IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>&nbsp;<span class="var-name">$oMemCacheModel</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../../MyHammer_IndexedMemcache/Memcache/cMemCacheModel.html">cMemCacheModel</a></span>
				<span class="var-name">$oMemCacheModel</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Wed, 10 Feb 2010 22:24:40 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>